<?php
class UrlTag extends BaseTag {

	/**
	 * @regexp url@base[[:blank:]]*\/>
	 */
	public function base() {
		return url::base();
	}
	
	/**
	 * @regexp url@link[[:blank:]]*\(([, \/\w+]*)\)[[:blank:]]*\/>
	 */
	public function link($uri) {
		return url::link($uri[1]);
	}
}
?>